CVE-2022-39381
Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp
Description
Muhammara is a node module with c/cpp bindings to modify PDF with js for node or electron (based/replacement on/of galkhana/hummusjs). The package muhammara before 2.6.0; all versions of package hummus are vulnerable to Denial of Service (DoS) when supplied with a maliciously crafted PDF file to be appended to another. This issue has been patched in 2.6.0 for muhammara and not at all for hummus. As a workaround, do not process files from untrusted sources.
INFO
Published Date :
Nov. 2, 2022, 3:15 p.m.
Last Modified :
Nov. 21, 2024, 7:18 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
                                            The following products are affected by CVE-2022-39381
                                            vulnerability.
                                            Even if cvefeed.io is aware of the exact versions of the
                                            products
                                            that
                                            are
                                            affected, the information is not represented in the table below.
                                        
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | 
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2022-39381.
                                        
| URL | Resource | 
|---|---|
| https://github.com/galkahana/HummusJS/issues/293 | Exploit Issue Tracking Third Party Advisory | 
| https://github.com/julianhille/MuhammaraJS/issues/191 | Issue Tracking Third Party Advisory | 
| https://github.com/julianhille/MuhammaraJS/pull/194 | Patch Third Party Advisory | 
| https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw | Third Party Advisory | 
| https://github.com/galkahana/HummusJS/issues/293 | Exploit Issue Tracking Third Party Advisory | 
| https://github.com/julianhille/MuhammaraJS/issues/191 | Issue Tracking Third Party Advisory | 
| https://github.com/julianhille/MuhammaraJS/pull/194 | Patch Third Party Advisory | 
| https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw | Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2022-39381 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2022-39381
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2022-39381 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2022-39381 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/galkahana/HummusJS/issues/293 Added Reference https://github.com/julianhille/MuhammaraJS/issues/191 Added Reference https://github.com/julianhille/MuhammaraJS/pull/194 Added Reference https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw  - 
                            
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value  - 
                            
Initial Analysis by [email protected]
Nov. 04, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Changed Reference Type https://github.com/galkahana/HummusJS/issues/293 No Types Assigned https://github.com/galkahana/HummusJS/issues/293 Exploit, Issue Tracking, Third Party Advisory Changed Reference Type https://github.com/julianhille/MuhammaraJS/issues/191 No Types Assigned https://github.com/julianhille/MuhammaraJS/issues/191 Issue Tracking, Third Party Advisory Changed Reference Type https://github.com/julianhille/MuhammaraJS/pull/194 No Types Assigned https://github.com/julianhille/MuhammaraJS/pull/194 Patch, Third Party Advisory Changed Reference Type https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw No Types Assigned https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw Third Party Advisory Added CWE NIST CWE-476 Added CPE Configuration OR *cpe:2.3:a:muhammarajs_project:muhammarajs:*:*:*:*:*:node.js:*:* versions up to (including) 2.6.0 *cpe:2.3:a:pdfhummus:hummusjs:*:*:*:*:*:node.js:*:* versions up to (excluding) 1.0.111  
Vulnerability Scoring Details
Base CVSS Score: 7.5
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.35 }} 0.27%
score
0.56747
percentile